home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Trees / RedBlackLink.cp < prev    next >
Encoding:
Text File  |  1997-06-28  |  521 b   |  23 lines  |  [TEXT/CWIE]

  1. // RedBlackLink.cp
  2.  
  3. #ifndef RedBlackLink_h
  4. #include "RedBlackLink.h"
  5. #endif
  6. #ifndef RedBlackLinkTree_h
  7. #include "RedBlackLinkTree.h"
  8. #endif
  9.  
  10. template < class Key, class Content >
  11. RedBlackLinkTree<Key,Content>& RedBlackLink<Key,Content>::DownCast( TreeBase& t )
  12.   {
  13.     return static_cast< TreeType& >( t );
  14.   }
  15.  
  16. template < class Key, class Content >
  17. const RedBlackLinkTree<Key,Content>& RedBlackLink<Key,Content>::DownCast( const TreeBase& t )
  18.   {
  19.     return static_cast< const TreeType& >( t );
  20.   }
  21.  
  22. #include "RedBlackKey.cp"
  23.